using System;
using System.Collections.Generic;
using System.Text;

namespace UserRegisterClient_MSMQ
{
    class Program
    {
        static void Main(string[] args)
        {
            contososrv.User user = new contososrv.User();
            user.FirstName = "msmq";
            user.LastName = "wcf";
            contososrv.UserRegisterOnewayClient proxy = new contososrv.UserRegisterOnewayClient();
            proxy.RegisterUser(user);
            Console.WriteLine("done...");
            Console.ReadLine();
            proxy.Close();
        }
    }
}
